package com.zimi.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value="SysCode对象", description="系统字典表")
public class SysCode extends Model<SysCode> {
    private Integer id;

    private String codeName;

    private Integer parentId;

    private Integer codeIsParent;

    private String codeType;

    private String codeTypeName;

    private Integer codeValue;

    private Integer codeState;

    private Integer codeSort;

    private String codeShow;

    private String codePath;

    private Integer codeRoot;

    private Integer codeCommon;

    private String codeRemark;

    private Date createTime;

    private Integer createUser;

    private Date updateTime;

    private Integer updateUser;

    private Integer codeLevel;

    private static final long serialVersionUID = 1L;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}